package com.test.test_rest.miner_pool.domain.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperCusCustomer implements Serializable {
    private Integer id;

    /**
     * 推存人ID
     */
    private Integer parentId;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 登陆密码
     */
    private String password;

    /**
     * 交易状态;解冻thaw/冻结frozen
     */
    private String tranStatus;

    private Date regTime;

    /**
     * 注册IP
     */
    private String regIp;

    /**
     * 头像
     */
    private String faceImage;

    /**
     * 交易密码
     */
    private String tranPassword;

    /**
     * 钱包地址
     */
    private String walletAddress;

    /**
     * 团队标识
     */
    private String teamMark;

    private Date createTime;

    private Date updateTime;

    /**
     * 矿工账号
     */
    private String minerUser;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 推存人ID
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * 推存人ID
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * 昵称
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 昵称
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * 手机号
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 登陆密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 登陆密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 交易状态;解冻thaw/冻结frozen
     */
    public String getTranStatus() {
        return tranStatus;
    }

    /**
     * 交易状态;解冻thaw/冻结frozen
     */
    public void setTranStatus(String tranStatus) {
        this.tranStatus = tranStatus;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    /**
     * 注册IP
     */
    public String getRegIp() {
        return regIp;
    }

    /**
     * 注册IP
     */
    public void setRegIp(String regIp) {
        this.regIp = regIp;
    }

    /**
     * 头像
     */
    public String getFaceImage() {
        return faceImage;
    }

    /**
     * 头像
     */
    public void setFaceImage(String faceImage) {
        this.faceImage = faceImage;
    }

    /**
     * 交易密码
     */
    public String getTranPassword() {
        return tranPassword;
    }

    /**
     * 交易密码
     */
    public void setTranPassword(String tranPassword) {
        this.tranPassword = tranPassword;
    }

    /**
     * 钱包地址
     */
    public String getWalletAddress() {
        return walletAddress;
    }

    /**
     * 钱包地址
     */
    public void setWalletAddress(String walletAddress) {
        this.walletAddress = walletAddress;
    }

    /**
     * 团队标识
     */
    public String getTeamMark() {
        return teamMark;
    }

    /**
     * 团队标识
     */
    public void setTeamMark(String teamMark) {
        this.teamMark = teamMark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 矿工账号
     */
    public String getMinerUser() {
        return minerUser;
    }

    /**
     * 矿工账号
     */
    public void setMinerUser(String minerUser) {
        this.minerUser = minerUser;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", nickname=").append(nickname);
        sb.append(", mobile=").append(mobile);
        sb.append(", password=").append(password);
        sb.append(", tranStatus=").append(tranStatus);
        sb.append(", regTime=").append(regTime);
        sb.append(", regIp=").append(regIp);
        sb.append(", faceImage=").append(faceImage);
        sb.append(", tranPassword=").append(tranPassword);
        sb.append(", walletAddress=").append(walletAddress);
        sb.append(", teamMark=").append(teamMark);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", minerUser=").append(minerUser);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperCusCustomer other = (SuperCusCustomer) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId()))
            && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getTranStatus() == null ? other.getTranStatus() == null : this.getTranStatus().equals(other.getTranStatus()))
            && (this.getRegTime() == null ? other.getRegTime() == null : this.getRegTime().equals(other.getRegTime()))
            && (this.getRegIp() == null ? other.getRegIp() == null : this.getRegIp().equals(other.getRegIp()))
            && (this.getFaceImage() == null ? other.getFaceImage() == null : this.getFaceImage().equals(other.getFaceImage()))
            && (this.getTranPassword() == null ? other.getTranPassword() == null : this.getTranPassword().equals(other.getTranPassword()))
            && (this.getWalletAddress() == null ? other.getWalletAddress() == null : this.getWalletAddress().equals(other.getWalletAddress()))
            && (this.getTeamMark() == null ? other.getTeamMark() == null : this.getTeamMark().equals(other.getTeamMark()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getMinerUser() == null ? other.getMinerUser() == null : this.getMinerUser().equals(other.getMinerUser()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode());
        result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getTranStatus() == null) ? 0 : getTranStatus().hashCode());
        result = prime * result + ((getRegTime() == null) ? 0 : getRegTime().hashCode());
        result = prime * result + ((getRegIp() == null) ? 0 : getRegIp().hashCode());
        result = prime * result + ((getFaceImage() == null) ? 0 : getFaceImage().hashCode());
        result = prime * result + ((getTranPassword() == null) ? 0 : getTranPassword().hashCode());
        result = prime * result + ((getWalletAddress() == null) ? 0 : getWalletAddress().hashCode());
        result = prime * result + ((getTeamMark() == null) ? 0 : getTeamMark().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getMinerUser() == null) ? 0 : getMinerUser().hashCode());
        return result;
    }
}